Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  The indexes Element
Prev Next

A database may be associated with one or more indexes. The association is made via the <indexes> element:

<database id="myDB" singleInstance="true" type="Sitecore.Data.Database, Sitecore.Kernel">
 <param desc="name">$(id)</param>
  ...
  <indexes hint="list:AddIndex">
   <index path="indexes/index[@id='system']"/>
  </indexes>
</database>

The actual index definitions are usually located in the <indexes> main section.

Note that the name 'system' is reserved. This is the index used when searching for data in the Content Editor.


Prev Next